package org.web.accesscontrollist.server.dao;

import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.web.accesscontrollist.server.domain.query.QueryAclResourceUserBinding;
import org.web.accesscontrollist.server.domain.AclResourceUserBindingDO;

@Mapper
public interface AclResourceUserBindingDAO {

	AclResourceUserBindingDO selectAclResourceUserBindingByAclResourceUserBindingId(Integer aclResourceUserBindingId);

	List< AclResourceUserBindingDO > selectAclResourceUserBindingList(QueryAclResourceUserBinding queryAclResourceUserBinding);

	Integer countAclResourceUserBindingList(QueryAclResourceUserBinding queryAclResourceUserBinding);

	int insertAclResourceUserBinding(AclResourceUserBindingDO aclResourceUserBindingDO);

	int updateAclResourceUserBindingByAclResourceUserBindingId(AclResourceUserBindingDO aclResourceUserBindingDO);

	int deleteAclResourceUserBindingByAclResourceUserBindingId(Integer aclResourceUserBindingId);

	List<String> selectDistinctList(QueryAclResourceUserBinding queryAclResourceUserBinding);

}
